Skip to content

chore(deps-dev): bump @react-native-community/cli from 19.1.1 to 20.0.0 in /samples/react-native#5344

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/samples/react-native/react-native-community/cli-20.0.0
Closed

chore(deps-dev): bump @react-native-community/cli from 19.1.1 to 20.0.0 in /samples/react-native#5344
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/samples/react-native/react-native-community/cli-20.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2025

Bumps @react-native-community/cli from 19.1.1 to 20.0.0.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@react-native-community/cli](https://github.com/react-native-community/cli/tree/HEAD/packages/cli) from 19.1.1 to 20.0.0.
- [Release notes](https://github.com/react-native-community/cli/releases)
- [Changelog](https://github.com/react-native-community/cli/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/react-native-community/cli/commits/v20.0.0/packages/cli)

---
updated-dependencies:
- dependency-name: "@react-native-community/cli"
  dependency-version: 20.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 6, 2025
@dependabot dependabot bot requested a review from alwx as a code owner November 6, 2025 19:22
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2025
@dependabot dependabot bot added the javascript Pull requests that update javascript code label Nov 6, 2025
Comment on lines +54 to 56
"@react-native-community/cli": "20.0.0",
"@react-native-community/cli-platform-android": "19.1.1",
"@react-native-community/cli-platform-ios": "19.1.1",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: CLI v20.0.0 requires react-native ^0.81.0 or ^0.82.0, but the app uses 0.80.2.
Severity: HIGH | Confidence: 0.95

🔍 Detailed Analysis

The @react-native-community/cli package was updated to version 20.0.0, but this version requires react-native version ^0.81.0 or ^0.82.0. The sample application's package.json specifies react-native version 0.80.2. This version mismatch will prevent the CLI from functioning correctly when executing commands like npm run ios or npm run android within the sample application.

💡 Suggested Fix

Update the react-native dependency in samples/react-native/package.json to a version compatible with @react-native-community/cli 20.0.0, such as ^0.81.0 or ^0.82.0. Alternatively, downgrade @react-native-community/cli to a version compatible with react-native@0.80.2.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: samples/react-native/package.json#L54-L56

Potential issue: The `@react-native-community/cli` package was updated to version
20.0.0, but this version requires `react-native` version `^0.81.0` or `^0.82.0`. The
sample application's `package.json` specifies `react-native` version `0.80.2`. This
version mismatch will prevent the CLI from functioning correctly when executing commands
like `npm run ios` or `npm run android` within the sample application.

Did we get this right? 👍 / 👎 to inform future reviews.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 6, 2025

Superseded by #5345.

@dependabot dependabot bot closed this Nov 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/samples/react-native/react-native-community/cli-20.0.0 branch November 6, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants